package cn.bearspark.like.provider.dao.buffer;

import cn.bearspark.framework.redis.starter.buffer.list.RedisPageListBuffer;
import cn.bearspark.like.provider.dao.key.HappeningLikeBufferKeyBuilder;
import cn.bearspark.like.provider.dao.mapper.HappeningLikeMapper;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

/**
 * 点赞动态的用户 id 集合的缓存器
 *
 * @author f
 */
@Component
public class HappeningLikeUserIdPageListBuffer extends RedisPageListBuffer {

    public HappeningLikeUserIdPageListBuffer(RedisTemplate<String, Object> redisTemplate,
                                             HappeningLikeMapper happeningLikeMapper,
                                             HappeningLikeBufferKeyBuilder happeningLikeBufferKeyBuilder) {
        super(
                redisTemplate,
                happeningLikeMapper,
                happeningLikeBufferKeyBuilder
        );
    }

}
